* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.w {
  width: 1270px;
  min-width: 1270px;
  max-width: 1300px;
  margin: 0 auto;
}
.fontbc {
  padding: 5px 20px;
  font-size: 14px;
  background-color: white;
  transition: all 0.3s;
  float: left;
  cursor: pointer;
}
.fontbc:hover {
  background-color: #f5f5f5;
}
.hidden {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  text-decoration: none;
}
a {
  color: #666;
}
body {
  width: 100%;
}
html {
  width: 100%;
}
.navMiddle {
  width: 1200px;
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 90px 70px auto 50px 150px;
  grid-template-rows: 100%;
}
@media (max-width: 500px) {
  .navMiddle {
    grid-template-columns: 0 70px 0 50px 150px;
  }
}
.UserMessage {
  width: 100%;
  height: 100%;
  display: block;
  text-align: center;
  line-height: 55px;
}
.UserMessage:hover {
  color: rgba(214, 34, 46, 0.7);
}
.nav {
  background-color: #ffffff;
  width: 100%;
  height: 64px;
  border-bottom: 1px solid gainsboro;
  position: sticky;
  top: 0;
  z-index: 999;
}
.heardUser {
  width: 50px;
  height: 50px;
  background-image: url(../img/a.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50%;
  margin: 0 auto;
  margin-top: 5px;
  position: relative;
}
.heardUser:hover .userUse {
  display: block !important;
}
.heardUser .userUse {
  width: 150px;
  height: 186px;
  position: absolute;
  top: 58px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  left: -50px;
  background-color: #ffffff;
  z-index: 10000;
  padding: 5px 0;
  list-style: none;
  display: none;
}
.heardUser .userUse:hover {
  display: block;
}
.heardUser .userUse .userLoginMessage {
  width: 100%;
  height: 30px;
  line-height: 30px;
  background-color: #ffffff;
  transition: all 0.3s;
  display: block;
  cursor: pointer;
  text-align: center;
}
.heardUser .userUse .userLoginMessage:hover {
  background-color: rgba(214, 34, 46);
  color: #ffffff;
}
.heardUser .userUse .userName {
  font-size: 14px;
  text-align: center;
  line-height: 30px;
  font-weight: 600;
  color: #D6222E;
  padding: 0 10px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.userNameContainer:hover .heardUser .userUse {
  display: block;
}
.gridContainer:nth-child(5) {
  overflow: visible;
}
.gridContainer {
  overflow: hidden;
  position: relative;
}
.gridContainer:hover .parts {
  background-color: rgba(214, 34, 46, 0.7);
  color: #ffffff;
}
.gridContainer .chinese {
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 18px;
  color: #D6222E;
  font-weight: 600;
  line-height: 64px;
  position: relative;
}
.gridContainer .parts {
  width: 60px;
  height: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: gainsboro;
  border-radius: 5px;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
  position: relative;
}
.gridContainer .parts:hover {
  background-color: rgba(214, 34, 46, 0.7);
  color: #ffffff;
}
.gridContainer .loginSign {
  position: absolute;
  left: 50%;
  margin-top: 15px;
  cursor: pointer;
  transform: translateX(-50%);
}
.gridContainer .loginSign:hover {
  color: rgba(214, 34, 46, 0.7);
}
.gridContainer .searhInput {
  width: 100%;
  height: 50%;
  margin-top: 15px;
  outline: none;
  padding: 0 10px;
  border: 1px solid #e8e8ed;
  background-color: #f5f6f7;
}
.searchContent {
  position: relative;
  padding-right: 100px;
}
@media (max-width: 500px) {
  .searchContent {
    padding: 0;
  }
}
.searchContent:hover .search {
  color: rgba(214, 34, 46, 0.7);
}
.searchContent .searchBtn {
  position: absolute;
  width: 70px;
  height: 50%;
  top: 15px;
  right: 30px;
  background-color: rgba(214, 34, 46, 0.5);
  outline: none;
  border: none;
  color: #ffffff;
}
.height {
  height: 0px;
  padding: 0px !important;
}
.classContainer {
  width: 100%;
  overflow: hidden;
  box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.3);
  padding: 10px;
  background-color: #ffffff;
}
.classIfy {
  margin-top: 5px;
  width: 1200px;
  margin: 0 auto;
  max-width: 100%;
  background-color: #ffffff;
  overflow: hidden;
  list-style: none;
  transition: all 0.3s;
}
.classIfy .lis {
  padding: 5px 10px;
  margin: 5px 5px 5px 5px;
  background-color: gainsboro;
  float: left;
}
.classIfy .lis a {
  color: #ffffff;
}
.searchContentS {
  width: 100%;
  height: 50px;
  background-color: #ffffff;
  padding-right: 100px;
  position: relative;
  display: none;
}
@media (max-width: 500px) {
  .searchContentS {
    display: block;
  }
}
.searchContentS .searhInput {
  width: 100%;
  height: 100%;
  outline: none;
  border: 1px solid #e8e8ed;
  background-color: #f5f6f7;
}
.searchContentS .searchBtn {
  width: 100px;
  height: 100%;
  background-color: rgba(214, 34, 46, 0.5);
  position: absolute;
  top: 0;
  right: 0;
  outline: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}
#logo {
  width: 95px;
  height: 90px;
  position: absolute;
  top: -11px;
  left: -14px;
}
